﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library.Classes
{
    internal class Book
    {
        private string _author = "Автор не указан";
        private string _nameBook = "Название не указано";
        private string _description = "Описание отсутствует";
        private string _publishingHouse = "Издатель не указан";
        private string _genre = "Жанр не указан";
        private int _publishingYear = 0;
        private int _page = 0;
        private string isbn = "";
        public string Author
        {
            get { return _author; }
            set { _author = value; }
        }

        public string NameBook
        {
            get { return _nameBook; }
            set { _nameBook = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public string PublishingHouse
        {
            get { return _publishingHouse; }
            set { _publishingHouse = value; }
        }

        public string Genre
        {
            get { return _genre; }
            set { _genre = value; }
        }

        public int Page
        {
            get { return _page; }
            set { _page = value; }
        }

        public string ISBN
        {
            get { return isbn; }
            set { isbn = value; }
        }

        public int PublishingYear
        {
            get { return _publishingYear; }
            set { _publishingYear = value; }
        }

        public Book() { }

        public Book(string author, string nameBook, string description, string publishingHouse, string genre, int publishingYear, int page, string isbn)
        {
            Author = author;
            NameBook = nameBook;
            Description = description;
            PublishingHouse = publishingHouse;
            Genre = genre;
            PublishingYear = publishingYear;
            Page = page;
            ISBN = isbn;
        }

        public Book(string nameBook, int page, int publishingYear, string isbn)
        {
            NameBook = nameBook;
            Page = page;
            PublishingYear = publishingYear;
            ISBN = isbn;
        }

    }
}
